package com.t194.service.impl;

import com.t194.mapper.PermissionMapper;
import com.t194.service.PermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class PermissionServiceImpl implements PermissionService {
    @Resource
    private PermissionMapper permissionMapper;
    @Override
    public List<String> searchPermCode(String userCode) {
        return permissionMapper.findPermCode(userCode);
    }
}
